home *** CD-ROM | disk | FTP | other *** search
- Path: damon.irf.uni.dortmund.de!broth
- From: rothert@damon.irf.uni-dortmund.de (Bernd Rothert)
- Newsgroups: comp.lang.c++
- Subject: Re: Watcom C++ pecularities
- Date: Wed, 13 Mar 96 10:01:31 GMT
- Organization: Institute of Robotics Research
- Message-ID: <4i66n8$l4q@damon.irf.uni-dortmund.de>
- References: <64cnnJdipZB@nana.franken.de>
- NNTP-Posting-Host: broth.irf
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <64cnnJdipZB@nana.franken.de>,
- wolfgang@nana.franken.de (Wolfgang Thomas) wrote:
- >2.) The following structure definition within the private section
- > of a class definition causes a compiler error "access to private
- > member test::A is not allowed". Why?
-
- Strange compiler behaviour - declaring "A a;" instead of "struct A a;" works!
-
- Bernd
-